<template>
  <div class="seckill-options">
    <div class="options-header">
      <div class="tabs">
        <div class="tab-item active">{{ title }}</div>
      </div>
    </div>
    <div class="options-content">
      <el-form :model="value" size="mini" label-width="80px">
        <el-form-item label="模块标题">
          <el-input v-model="value.title" />
        </el-form-item>
        <el-form-item label="商品数量">
          <el-select v-model="value.count">
            <el-option v-for="i in 20" :key="i" :label="i" :value="i" />
          </el-select>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>
<script>
export default {
  name: 'SeckillOptions',
  props: {
    title: {
      type: String,
      default: ''
    },
    value: {
      type: Object,
      default: null
    }
  }
}
</script>
